<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta charset="UTF-8">
	<title>添加员工信息</title>
	<meta name="renderer" content="webkit">	
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">	
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">	
	<meta name="apple-mobile-web-app-status-bar-style" content="black">	
	<meta name="apple-mobile-web-app-capable" content="yes">	
	<meta name="format-detection" content="telephone=no">	
	<link rel="stylesheet" type="text/css" href="common/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="common/bootstrap/css/bootstrap.css" media="all">
	<link rel="stylesheet" type="text/css" href="common/global.css" media="all">
	<link rel="stylesheet" type="text/css" href="css/personal.css" media="all">
	<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
</head>
<body class="childrenBody">
	<!-- 隐藏员工id，如果有就代表修改员工信息 -->
	<input type="hidden" id="Inpsiid">
	<form class="layui-form">
		<div class="layui-form-item">
			<label class="layui-form-label">员工姓名</label>
			<div class="layui-input-block">
				<input id="inpName" class="layui-input newsName" lay-verify="required" placeholder="请输入员工姓名" type="text">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">		
				<label class="layui-form-label">性别</label>
				<div class="layui-input-inline" name="sex">
					<select id="selSex" name="browseLook" class="newsLook" lay-filter="browseLook">
				        <option value="0">男</option>
				        <option value="1">女</option>
				    </select>
				</div>
			</div>
			<div class="layui-inline">	
				<label class="layui-form-label">密码</label>
				<div class="layui-input-block">
					<input class="layui-input" placeholder="默认为身份证后6位" type="text" readonly="readonly">
				</div>	
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">手机号</label>
				<div class="layui-input-block">
					<input id="inpPhone" class="layui-input" lay-verify="phone"  placeholder="请输入手机号" type="text" >
				</div>	
		</div>
		
		<div class="layui-form-item">
			<div class="layui-inline" name="departmentinfo">		
				<label class="layui-form-label">部门</label>
				<div id="departmentinfo" class="layui-input-inline" name="selDepartment">
					<select id="selDepartment" name="departmentinfo" class="newsLook" lay-filter="departmentinfo">
					<option value="0">所有部门</option>
				    </select>
				</div>
			</div>
			<div class="layui-inline">		
				<label class="layui-form-label">职位</label>
				<div class="layui-input-inline" name="selPosition">
					<select id="selPosition" name="browseLook" class="newsLook" lay-filter="browseLook">
				        <option value="0">员工</option>
				    </select>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">身份证</label>
			<div class="layui-input-block">
				<input id="inpCardId" class="layui-input" lay-verify="identity" placeholder="请输入身份证号码" type="text">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">家庭住址</label>
			<div class="layui-input-block">
				<textarea id="txtAddress" placeholder="请输入家庭住址" lay-verify="required" class="layui-textarea"></textarea>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="addNews">提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" src="common/layui/layui.js"></script>
	<script type="text/javascript" src="js/staffInfo/addstaffInfo.js"></script>
</body>
</html>